package com.jie.component.exception.config;


import com.jie.common.util.LogUtil;
import com.jie.component.exception.handler.GlobalExceptionHandler;
import org.springframework.context.annotation.Bean;

/**
 * @author jie
 * @version 1.0 2025-02-10
 */
public class GlobalExceptionHandlerAutoConfig {
    @Bean
    public GlobalExceptionHandler globalExceptionHandler() {
        LogUtil.autoConfigLog("GlobalExceptionHandler");
        return new GlobalExceptionHandler();
    }
}
